package com.atos.optical.service;

import com.atos.optical.common.BaseService;
import com.atos.optical.model.bo.SysUserInfoBo;
import com.atos.optical.model.po.SysUserInfo;
import com.atos.optical.model.query.SysUserInfoQuery;

/**
 * @author wanghra
 * @version 1.0
 * @description
 * @date 2025/8/12
 */
public interface SysUserInfoService extends BaseService<SysUserInfo> {
    /**
     * 更新用户信息
     * 
     * @param token
     * @param entity
     * @return
     */
    boolean updateUserInfo(String token, SysUserInfo entity);
    /**
     * 分页查询
     * 
     * @param query
     * @return
     */
    SysUserInfoQuery pageByQuery(SysUserInfoQuery query);

    /**
     * 用户登录验证
     * 
     * @param entity
     * @return
     */
    String validate(SysUserInfoBo entity);
}
